package com.cds.alert.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 
 * <p>
 * 类描述：报表订阅明细信息表
 * <p>
 * 作     者： migrant
 * <p>
 * 日     期： 2014年3月11日
 * <p>
 * 时     间： 下午7:08:25
 * <p>
 */
@Entity
@Table(name = "alert_report_log")
public class AlertReportLog extends IdEntity {

	public enum TimeSpan {
		DAY, MONTH, YEAR, OTHER
	}

	/**报表订阅流水号*/
	private int reportId;
	/**发送时间*/
	private Date sendTime;
	/**报表文件存储路径*/
	private String storePath;
	/**接收地址*/
	private String receiver;
	/**备注*/
	private String description;

	public int getReportId() {
		return reportId;
	}

	public void setReportId(int reportId) {
		this.reportId = reportId;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getStorePath() {
		return storePath;
	}

	public void setStorePath(String storePath) {
		this.storePath = storePath;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
